﻿using System;
using System.Net;
using Mirror;

namespace Shows_3D
{
    public struct Shows3DServerResponse : NetworkMessage
    {
        // The server that sent thi
        // this is a property so that it is not serialized,  but the
        // client fills this up after we receive it
        public IPEndPoint EndPoint { get; set; }

        public Uri uri;

        // Prevent duplicate server appearance when a connection can be made via LAN on multiple NICs
        public long serverId;
        //服务器名称，用来区分不同的客服
        public string name;
    }
    
    public struct ServerOfflineMessage : NetworkMessage
    {
        // // The server that sent thi
        // // this is a property so that it is not serialized,  but the
        // // client fills this up after we receive it
        // public IPEndPoint EndPoint { get; set; }
        //
        // public Uri uri;
        //
        // // Prevent duplicate server appearance when a connection can be made via LAN on multiple NICs
        // public long serverId;
        // //服务器名称，用来区分不同的客服
        // public string name;

        public long serverId;
    }
}